<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/webCommon/webCommon.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="<%=basePath%>/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="<%=basePath%>/css/public.css" media="all" />
	
	<script type="text/javascript" src="<%=basePath%>/layui/layui.js"></script>
    
<title>加入分组</title>
<!-- 默认选中题目名称-开始 -->
<!-- <script type="text/javascript" >
 $(document).ready(function(){
		$(".titleInf").each(function(){//循环获取所有分组编号 
			var titleInfId = $(this).attr("value");
			var titleInf = $("#sysTitleInformationId").attr("value");
			if(titleInfId == titleInf){
				$(this).attr("selected","selected");				
		}	
		});
	 });
</script> -->
<!-- 默认选中学题目名称-结束 -->

<!-- <script type="text/javascript" src="plugins/layui/layui.js"></script>
		<script>
			layui.use(['form', 'layedit', 'laydate'], function() {
				var form = layui.form(),
					layer = layui.layer,
					layedit = layui.layedit,
					laydate = layui.laydate;
				 //监听提交
				form.on('submit(tijiao)', function(data) {
					layer.alert(JSON.stringify(data.field), {
						title: '最终的提交信息'
					})
				});
			});
		</script> -->
</head>

<body class="childrenBody">   

<blockquote class="layui-elem-quote quoteBox">
		<form class="layui-form">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
				</div>
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
			</div>
			<div class="layui-inline">
				<a class="layui-btn layui-btn-normal addNews_btn">添加题目</a>
			</div>
			<div class="layui-inline">
				<a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn">批量删除</a>
			</div>
		</form>
	</blockquote>
	<table id="Grouop_chooseList" lay-filter="Grouop_chooseList"></table>
	<!--审核状态-->
	<script type="text/html" id="newsStatus">
		{{#  if(d.newsStatus == "1"){ }}
		<span class="layui-red">等待审核</span>
		{{#  } else if(d.newsStatus == "0"){ }}
		<span class="layui-blue">已存草稿</span>
		{{#  } else { }}
			审核通过
		{{#  }}}
	</script>

	<!--操作-->
	<script type="text/html" id="newsListBar">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>
	</script>
</form>












































<%-- 

	<div style="margin: 15px;">
		 <form class="layui-form" action="<%=path %>/sys/ServiceStudentGroup_join.action" >  	
			<div class="layui-form-item">
				<label class="layui-form-label">分组名称</label>
				<div class="layui-input-inline">
						<select name="studentGroupId" id="studentGroupId">
							<option value="">请选择...</option>
							<s:iterator value="serviceStudentGroupAllList">
							<option  class ="studentGroupId" value="${studentGroupId}"  id="${studentGroupId}">${studentGroupName}</option>
							</s:iterator>
						</select>
					</div>
						  <p:permissions right="addtask" >
           	 	  <span><a href="<%= basePath%>/sys/ServiceStudentGroup_openAdd.action?titleInfId=${titleInfId}" class="layui-btn">创建分组</a></span>

            </p:permissions>
			</div>  
		
		
		 	<div class="layui-form-item">
				<label class="layui-form-label">题目</label>
				<div class="layui-input-inline">
						<select name="titleInfId" id="titleInfId">
							<!-- <option value="">请选择...</option>  -->
							<s:iterator value="sysTitleInformationAllList">
							<option  class ="titleInf" value="${titleInfId}"  id="${titleInfId}">${titleInfName}</option>
							</s:iterator>
						</select>
					</div>
				</div>
				
				
			</div>
                <div class="layui-form-item">
					<div class="layui-input-block">
						<button id="tijiao" class="layui-btn" lay-filter="tijiao" lay-submit="">加入</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>   	
     </form> --%>
    <%--   <input name="sysTitleInformation.titleInfId" type="hidden" id="sysTitleInformationId" value="${sysTitleInformation.titleInfId}"/>  --%> <!-- 用于下拉选择的读取-题目 -->
</body>
</html>
